<template>
	<view :style="{height: statusHeight}" class="uni-status-bar">
		sadas
	</view>
</template>

<script>
	export default {
		name:'StatusBar',
		data(){
			return {
				statusHeight: 20
			}
		},
		mounted() {
			this.statusHeight = uni.getSystemInfoSync().statusBarHeight + 'px'
		}
	}
</script>

<style lang="scss" scoped>
.uni-status-bar{
	height: 20px;
}
</style>